package com.aistar.service;

import com.aistar.util.ServerResponse;

public interface ProductService {
    //根据主键查询
    public ServerResponse getById(Integer id);

    public ServerResponse getHotProduct();

    public ServerResponse getRimProduct(String site);

    public ServerResponse getLongProduct();

    public ServerResponse getSecKillList();
    //多条件查询
    public ServerResponse getAllSearch(Integer pageNum, String keyword, String method,
                                       Integer days, String startCity, String feature,
                                       Float minPrice, Float maxPrice, Integer sortStatus);
}
